package com.ee.chat.admin.service;

import com.ee.chat.common.bean.Result;
import com.ee.chat.common.entity.ChannelConfig;

import javax.servlet.http.HttpServletRequest;

/**
 * @Author Shane
 * @Date 2020/4/17 14:56
 */
public interface IChannelConfigService {
    /**
     * 落地页列表
     * @Author Shane
     * @Date 2020/4/17 15:00
     * @param
     * @return
     */
    Result list(HttpServletRequest request, Integer page, Integer limit, Integer status) throws Exception;

    Result toEdit(HttpServletRequest request, Integer id) throws Exception;

    Result save(HttpServletRequest request, ChannelConfig channelConfig) throws Exception;

    Result updateStatus(HttpServletRequest request, Integer id, Integer status) throws Exception;
}
